/**
 * @author abcque
 * @version 1.0
 * @ className ArithmeticOperator
 * @ description 算术运算符示例
 * @ date 2022/10/21 10:35
 */
public class ArithmeticOperator {
    public static void main(String[] args) {
        /*int i = 123;

        // + 对结果是没有任何影响的，可以省略
        System.out.println(+i);
        // - 对结果有影响，不能省略。
        System.out.println(-i);*/

        /*int i = 14;
        int j = 6;
        System.out.println(i / j);

        double m = 14;
        int n = 6;
        System.out.println(m / n);

        int x = 14;
        double y = 6;
        System.out.println(x / y);*/

        /*int i = 21;
        int j = 4;
        System.out.println(i % j);

        int m = -21;
        int n = 4;
        System.out.println(m % n);

        int x = 21;
        int y = -4;
        System.out.println(x % y);*/

        double i = 12.4;
        double j = 0.3;
        System.out.println(i % j);

    }
}
